Skip to content

fix: benchmark suite reliability improvements - #156

Merged
kacy merged 1 commit into
mainfrom
fix/bench-bugs
Feb 16, 2026
Merged

fix: benchmark suite reliability improvements#156
kacy merged 1 commit into
mainfrom
fix/bench-bugs

Conversation

@kacy

@kacy kacy commented Feb 16, 2026

Copy link
Copy Markdown
Owner

summary

three fixes that caused benchmark failures on the last GCP run:

  • bench-memory.sh: anchor grep to ^used_memory: — the unanchored pattern was matching both used_memory: and used_memory_human:, producing multi-line output that broke the arithmetic (all types reported 0 bytes/key)
  • bench-proto.sh: pass --protobuf runtime flag to ember-server — the feature flag enables compilation, but the server also requires --protobuf at startup to initialize the schema registry
  • setup-vm.sh: disable redis systemd service after apt install (was squatting port 6379), install gcc-12 for usearch SIMD, protoc 29.3 for proto3 optional fields, python3-venv and unzip, build with all detected features

what was tested

  • confirmed INFO memory returns single used_memory: line with anchored grep
  • verified --protobuf flag initializes schema registry (PROTO.REGISTER succeeds)
  • all three issues were root causes of failures in the 2026-02-15 benchmark run

- bench-memory.sh: anchor grep to ^used_memory: so it doesn't match
  used_memory_human: (was causing 0 bytes/key for all types)
- bench-proto.sh: pass --protobuf flag to ember-server (runtime flag
  required in addition to compile-time feature)
- setup-vm.sh: disable redis systemd service after install (was
  squatting on port 6379 and interfering with benchmarks), install
  gcc-12/protoc/python3-venv/unzip, build with all features
@kacy
kacy merged commit bfd5e78 into main Feb 16, 2026
7 checks passed
@kacy
kacy deleted the fix/bench-bugs branch February 16, 2026 02:09
kacy added a commit that referenced this pull request Feb 19, 2026
- bench-memory.sh: anchor grep to ^used_memory: so it doesn't match
  used_memory_human: (was causing 0 bytes/key for all types)
- bench-proto.sh: pass --protobuf flag to ember-server (runtime flag
  required in addition to compile-time feature)
- setup-vm.sh: disable redis systemd service after install (was
  squatting on port 6379 and interfering with benchmarks), install
  gcc-12/protoc/python3-venv/unzip, build with all features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant